﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AccountingLibrary
{
   public abstract class AccountDetailsCollectionBase : List<AccountDetail>
    {
       public void get_details(int account_id)
       {
           this.AddRange(get_account_details(account_id));
       }
       protected abstract List<AccountDetail> get_account_details(int id);
    }
}
